#pragma once

#include "xstr.h"

XString GetDirFromPath(cstr fpath);
XString GetFNameFromPath(cstr fpath);
XString GetFTitleFromPath(cstr fpath);
void SetFTitleInPath(XString &path, cstr ftitle);

bool IsBlank(XString c);
XString ExtractPath(const char *fpath);
void AddSlash(XString &path);
void RemoveSlash(XString &path);
void NormalizeFName(XString &c);
void SplitLastPathItem(const char* fpath, XString &begin, XString &end);
void mySplitPath(const char *fpath, XString *pDrive, XString *pDir, XString *pName, XString *pExt);

